﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
using System.Web.Mvc;

namespace Smartec.Accounts.Camel.AMS.Model.Entities
{
    [MetadataType(typeof(Topic_Metadata))]
    public partial class Topic
    {
       
    }

    public class Topic_Metadata
    {
        [Required(ErrorMessage = "*")]
        [DisplayName("اسم النظام بالانجليزية")]
        [StringLength(50, ErrorMessage = "يجب ان يكون اقل من 50 حرف")]
        public string SystemName { get; set; }

        [DisplayName("محتوى النظام")]
        [UIHint("RichEditor")]
        [AllowHtml]
        public string Body { get; set; }

       
    }

}
